import request from '@/utils/request'

// api地址
const api = {
  url: 'passport/loginByWxCode'
}

// 获取支付参数
export const loginByWxCode = (code) => {
  return request.post(api.url, { code })
}
